﻿using FluentMigrator;

namespace Database.Migrations
{
    [Migration(201204092102)]
    public class CreateDoerTable : Migration
    {
        public override void Up()
        {
            Create.Table("Doer")
                .WithColumn("Id").AsInt32().NotNullable().PrimaryKey().Identity()
                .WithColumn("Name").AsString(50);
        }

        public override void Down()
        {
            Delete.Table("Doer");
        }
    }
}